const KoaRouter = require("@koa/router");
const SettingController = require("../controller/setting.controller.js");
const verifyToken = require("../middleware/verifyToken.js");

const userRouter = new KoaRouter({ prefix: "/setting" });


userRouter.post("/update", verifyToken, SettingController.update);
userRouter.get("/info", verifyToken, SettingController.info);

module.exports = userRouter;
